import http from '@/utils/request'

export function getGoods(query){
	return http.request({
		url:'/system/goods/frontlist',
		method:'get',
		params:query
	})
}

export function getGoodsById(id){
	return http.request({
		url:'/system/goods/'+id,
		method:'get'
	})
}

